package com.cskaoyan.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/10/08 09:50
 */
@RestController
public class HelloController {

    @RequestMapping("hello")
    public String hello() {
        System.out.println("hello ");
        //return "hello java config";
        return "hello";
    }
    @RequestMapping("hello/songge")
    public String hello2() {
        System.out.println("hello songge");
        return "hello2";
    }
    @RequestMapping("goodbye")
    public String goodbye() {
        System.out.println("goodbye ");
        return "goodbye";
    }
    @RequestMapping("goodbye/xuejia")
    public String goodbye2() {
        System.out.println("goodbye xuejia ");
        return "goodbye2";
    }
}
